package net.lcheng.vo;

import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by zwr on 2016/7/8 0008.
 */
public class UserWithdrawalsRecordModel {
    private String id;
    private String userId;
    private String userName;
    @Pattern(regexp = "^[0-9]*[1-9][0-9]*$" ,message = "提现金额不正确")
    private String cashWithdrawalAmount;
    @NotEmpty(message = "请输入开户名")
    private String accountName;
    @NotEmpty(message = "请输入开户银行")
    private String bank;
    @NotEmpty(message = "请选择开户所在省")
    private String addrProvinceCode;
    private String addrProvinceName;
    @NotEmpty(message = "请选择开户所在市")
    private String addrCityCode;
    private String addrCityName;
    @NotEmpty(message = "请输入支行")
    private String branch;
    @Pattern(regexp = "^\\d{16}|\\d{19}$" ,message = "银行卡格式不正确")
    private String cardNo;
    private Date presentTime;
    private Integer status;

    public String getCashWithdrawalAmount() {
        return cashWithdrawalAmount;
    }

    public void setCashWithdrawalAmount(String cashWithdrawalAmount) {
        this.cashWithdrawalAmount = cashWithdrawalAmount;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }


    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank;
    }

    public String getAddrProvinceCode() {
        return addrProvinceCode;
    }

    public void setAddrProvinceCode(String addrProvinceCode) {
        this.addrProvinceCode = addrProvinceCode;
    }

    public String getAddrProvinceName() {
        return addrProvinceName;
    }

    public void setAddrProvinceName(String addrProvinceName) {
        this.addrProvinceName = addrProvinceName;
    }

    public String getAddrCityCode() {
        return addrCityCode;
    }

    public void setAddrCityCode(String addrCityCode) {
        this.addrCityCode = addrCityCode;
    }

    public String getAddrCityName() {
        return addrCityName;
    }

    public void setAddrCityName(String addrCityName) {
        this.addrCityName = addrCityName;
    }

    public String getBranch() {
        return branch;
    }

    public void setBranch(String branch) {
        this.branch = branch;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public Date getPresentTime() {
        return presentTime;
    }

    public void setPresentTime(Date presentTime) {
        this.presentTime = presentTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
